﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DataModel
{
    public class AuthorityGroup
    {
        public string GroupName { get; set; }
        public bool CashierPermission { get; set; }
        public bool DataManagePermission { get; set; }
        public bool StockManagePermission { get; set; }
        public bool StaffManagePermission { get; set; }
        public bool MemberManagePermission { get; set; }
        public bool ReliefPermission { get; set; }
        public bool MoneyManagePermission { get; set; }
        public bool CashFlowPermission { get; set; }
        public bool CheckStockPermission { get; set; }
        public bool PurchasePermission { get; set; }
        public bool ReimbursementPermission { get; set; }

        public AuthorityGroup(string groupName)
        {
            this.GroupName = groupName;
            this.CashierPermission = false;
            this.DataManagePermission = false;
            this.StaffManagePermission = false;
            this.StockManagePermission = false;
            this.MemberManagePermission = false;
            this.ReliefPermission = false;
            this.MoneyManagePermission = false;
            this.CashFlowPermission = false;
            this.CheckStockPermission = false;
            this.PurchasePermission = false;
            this.ReimbursementPermission = false;
        }
    }
}
